package com.mdd.common.entity.zdjd;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Date;

@Data
@ApiModel("代理商实体")
@TableName("t_zdjd_agent")
public class TZdjdAgent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "")
    private String name;

    @ApiModelProperty(value = "")
    private String phone;

    @ApiModelProperty(value = "")
    private String idCard;

    @ApiModelProperty(value = "累计安装激活设备数")
    private Integer deviceTotalAmount;

    @ApiModelProperty(value = "累计充值数")
    private Long echargeTotalAmount;

    @ApiModelProperty(value = "累计推广人数")
    private Integer promotionTotalAmount;

    @ApiModelProperty(value = "代理商唯一标识")
    private String agentKey;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "")
    private Date updateTime;

}